
<!DOCTYPE html>
<html>
	<script>fun gotobaidu(){
		document.getElementById("demo").innerHtml("www.baidu.com");
	};</script>

<head>

<title>我是标题</title>

</head>

<body>
	欢迎来到我的世界
</body>

<p id= "demo" onclick="gotobaidu()">getstart for 百度</p>
</html>